package com.ruoyi.tjbb.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.tjbb.mapper.SysTjbbCscstjMapper;
import com.ruoyi.tjbb.domain.SysTjbbCscstj;
import com.ruoyi.tjbb.service.ISysTjbbCscstjService;

/**
 * 超速次数统计Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-09-26
 */
@Service
public class SysTjbbCscstjServiceImpl implements ISysTjbbCscstjService 
{
    @Autowired
    private SysTjbbCscstjMapper sysTjbbCscstjMapper;

    /**
     * 查询超速次数统计
     * 
     * @param id 超速次数统计主键
     * @return 超速次数统计
     */
    @Override
    public SysTjbbCscstj selectSysTjbbCscstjById(Long id)
    {
        return sysTjbbCscstjMapper.selectSysTjbbCscstjById(id);
    }

    /**
     * 查询超速次数统计列表
     * 
     * @param sysTjbbCscstj 超速次数统计
     * @return 超速次数统计
     */
    @Override
    public List<SysTjbbCscstj> selectSysTjbbCscstjList(SysTjbbCscstj sysTjbbCscstj)
    {
        return sysTjbbCscstjMapper.selectSysTjbbCscstjList(sysTjbbCscstj);
    }

    /**
     * 新增超速次数统计
     * 
     * @param sysTjbbCscstj 超速次数统计
     * @return 结果
     */
    @Override
    public int insertSysTjbbCscstj(SysTjbbCscstj sysTjbbCscstj)
    {
        return sysTjbbCscstjMapper.insertSysTjbbCscstj(sysTjbbCscstj);
    }

    /**
     * 修改超速次数统计
     * 
     * @param sysTjbbCscstj 超速次数统计
     * @return 结果
     */
    @Override
    public int updateSysTjbbCscstj(SysTjbbCscstj sysTjbbCscstj)
    {
        return sysTjbbCscstjMapper.updateSysTjbbCscstj(sysTjbbCscstj);
    }

    /**
     * 批量删除超速次数统计
     * 
     * @param ids 需要删除的超速次数统计主键
     * @return 结果
     */
    @Override
    public int deleteSysTjbbCscstjByIds(Long[] ids)
    {
        return sysTjbbCscstjMapper.deleteSysTjbbCscstjByIds(ids);
    }

    /**
     * 删除超速次数统计信息
     * 
     * @param id 超速次数统计主键
     * @return 结果
     */
    @Override
    public int deleteSysTjbbCscstjById(Long id)
    {
        return sysTjbbCscstjMapper.deleteSysTjbbCscstjById(id);
    }
}
